<template>
	<view class="webBox">
		<uv-navbar :fixed="true" :placeholder="true" @leftClick="$onClickLeft" title="详情" bgColor="#fff"/>
		<web-view v-if="URL" :src="URL"></web-view>
	</view>
	
</template>

<script setup>
	import { ref, computed } from 'vue'
	import { onLoad, onShow } from '@dcloudio/uni-app'
	const URL = ref({})
	onShow(() => {})
	onLoad(e => {
		URL.value = JSON.parse(decodeURIComponent(e.url))
	})
	
</script>

<style lang="scss" scoped>
	.webBox{
		display: flex;
		flex-direction: column;
		height: 100vh;
		overflow: hidden;
		.webView{
			flex: 1;
			overflow: hidden;
		}
	}
</style>
